* { margin: 0; padding: 0; }
html, body { height: 100%; }
a { text-decoration: none; }

#header{
  width: 80%;
  margin: 0 auto;
  padding: 40px 0 0;
}
#main {
  width: 80%;
  margin: 10px auto;
  display: flex;
}
.model-item{
  padding: 10px;
  box-sizing: border-box;
  width: calc(100% / 3 - 30px);
  margin-right: 10px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.model-item:hover{
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
}
.model-thumb{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  background-size: cover;
  transition: filter 0.3s ease-in;
}
.model-item:hover .model-thumb{
  filter: blur(4px); 
}
.model-item .model-info{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  line-height: 100%;
  color: #fff;
  background-color: rgba(0, 0, 0, .3);
  text-indent: 10px;
  display: none;
}
.model-item .model-info-text{
  font-size: 18px;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translate3d(0, -50%, 0);
  text-align: center;
}
.model-item .model-info span{
  font-weight: bold;
  color: #ccc;
}

.model-item:hover .model-info{
  display: block;
}
